package discriminant;

/**
 * Created with IntelliJ IDEA.
 * User: admin
 * Date: 16.06.14
 * Time: 19:58
 * To change this template use File | Settings | File Templates.
 */
public class main {
    public static void main(String[] args) {
        Discriminant my = new Discriminant(1, 5, 6);

        System.out.println(my);
        System.out.print("First answer: ");
        if ( my.d() > 0 ) {
             System.out.println(my.firstAnswer() + ";");
        } else {
            System.out.println("No answer:(");
        }
        System.out.print("Second answer: ");
        if ( my.d() > 0 ) {
            System.out.println(my.secondAnswer() + ";");
        } else {
            System.out.println("No answer:(");
        }
    }
}
